/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.tms.module.supercargoinfo.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springblade.core.tenant.mp.TenantEntity;

import java.time.LocalDateTime;

/**
 * 押运员信息表实体类
 *
 * @author Blade
 * @since 2022-03-10
 */
@Data
@TableName("tm_supercargo_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "SupercargoInfo对象", description = "押运员信息表")
public class TMSupercargoInfo extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@ExcelIgnore
	@ApiModelProperty(value = "主键")
	private Long id;
	/**
	 * 业务伙伴编码
	 */
	@ExcelProperty("业务伙伴编码")
	@ApiModelProperty(value = "业务伙伴编码")
	private String tmId;
	/**
	 * 名称
	 */
	@ExcelProperty("名称")
	@ApiModelProperty(value = "名称")
	private String name;
	/**
	 * 电话
	 */
	@ExcelProperty("电话")
	@ApiModelProperty(value = "电话")
	private String phone;
	/**
	 * 从业资格证号
	 */
	@ExcelProperty("从业资格证号")
	@ApiModelProperty(value = "从业资格证号")
	private String certificateWorkNo;
	/**
	 * 身份证有效期-开始
	 */
	@ExcelProperty("身份证有效期-开始")
	@ApiModelProperty(value = "身份证有效期-开始")
	private LocalDateTime idCardValidStart;
	/**
	 * 身份证有效期-结束
	 */
	@ExcelProperty("身份证有效期-结束")
	@ApiModelProperty(value = "身份证有效期-结束")
	private LocalDateTime idCardValidEnd;
	/**
	 * 身份证证号
	 */
	@ExcelProperty("身份证证号")
	@ApiModelProperty(value = "身份证证号")
	private String idCardNo;
	/**
	 * 身份证正面
	 */
	@ExcelProperty("身份证正面")
	@ApiModelProperty(value = "身份证正面")
	private String idCardPicFront;
	/**
	 * 身份证背面
	 */
	@ExcelProperty("身份证背面")
	@ApiModelProperty(value = "身份证背面")
	private String idCardPicBack;
	/**
	 * 从业资格证
	 */
	@ExcelProperty("从业资格证")
	@ApiModelProperty(value = "从业资格证")
	private String certificateWorkPic;
	/**
	 * 审核状态
	 */
	@ExcelIgnore
	@ApiModelProperty(value = "审核状态")
	private String approvalStatus;
	/**
	 * 备注
	 */
	@ExcelProperty("备注")
	@ApiModelProperty(value = "备注")
	private String remark;

	/**
	 * 备注
	 */
	@ExcelProperty("从业资格证有效期")
	@ApiModelProperty(value = "从业资格证有效期")
	@JSONField(format = "yyyy-MM-dd HH-mm-ss")
	private LocalDateTime validityPeriod;
}
